public class SemanticException extends Exception
{
	public SemanticException( int lineNumber, int charNumber, String line, String details )
	{
		String s = "Semantic Error at line: "+lineNumber+ " char: "+charNumber+ "\n"; 
		s+= details + "\n";
		s+= "in:     "+ line;
		
		System.out.println(s);
	}
	
	public SemanticException(String s)
	{
		super(s);
	}
	

}
